//
//  TravelStrokeSmallModel.m
//  ToWhere
//
//  Created by dllo on 15/11/17.
//  Copyright © 2015年 www.TE.com. All rights reserved.
//

#import "TravelStrokeSmallModel.h"

@implementation TravelStrokeSmallModel

-(void)dealloc
{
    [_ID release];
    [_position release];
    [_entry_name release];
    [_image_url release];
    [_tips release];
    [_lat release];
    [_lng release];
    [super dealloc];
    
}
-(instancetype)initWithNSDictionary:(NSDictionary *)dic
{
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dic]
        ;
    }
    return self;
}

+(TravelStrokeSmallModel *)travelStrokeSmallModelWithNSDictionary:(NSDictionary *)dic
{
    TravelStrokeSmallModel *model = [[TravelStrokeSmallModel alloc]initWithNSDictionary:dic];
    
    return  [model autorelease];
    
}

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    if ([key isEqualToString:@"id"]) {
    
        self.ID = value;
    }
}



@end
